package com.yunjie.dao.profile;

import java.util.List;

import com.yunjie.dao.BaseDao;
import com.yunjie.model.ComProfile;

public interface ProfileDao extends BaseDao<ComProfile, Integer> {
	public List<ComProfile> findByNameOrCode(String name, String code) throws Exception;
	public List<ComProfile> findByComProfileId(Integer parentId) throws Exception;
	public List<ComProfile> findByLevel(Integer level) throws Exception;
}
